package com.pv.bfc.dao;

import com.pv.bfc.model.Document;
import com.pv.bfc.web.DocumentUpload;

public interface DocumentRepository {

	public enum UploadStatus {
		SUCCESS, EXISTS, INVALID, FAILED
	}

	public void deleteDocument(Document documentToDelete);

	public UploadStatus storeDocument(DocumentUpload document);

	public void persistDocument(Document document);

	public void rotateDocumentLeft(Document document);

	public void rotateDocumentRight(Document document);
}
